package net.imain.config;

import feign.Contract;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: uncle
 * @apdateTime: 2017-12-14 09:50
 */
@Configuration
public class CustomConfig {

    @Bean
    public Contract feignContractg() {
        return new feign.Contract.Default();
    }

    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}
